<!DOCTYPE html>

<html>
    <head>
        <title>#{get 'title' /}</title>
        <meta charset="${_response_encoding}">
        <link rel="stylesheet" media="screen" href="@{'/public/stylesheets/main.css'}">
        <link rel="stylesheet" media="screen" href="@{'/public/stylesheets/menu.css'}">
        <link rel="stylesheet" media="screen" href="@{'/public/stylesheets/photo.css'}">
        %{ if (isAdmin) { }%
            <link rel="stylesheet" media="screen" href="@{'/public/stylesheets/admin.css'}">
        %{ } }%
        #{get 'moreStyles' /}
        <link rel="shortcut icon" type="image/png" href="@{'/public/images/favicon.png'}">

        <script src="@{'/public/javascripts/jquery-1.6.2.min.js'}" type="text/javascript" charset="${_response_encoding}"></script>
        <script src="@{'/public/javascripts/menu.js'}" type="text/javascript" charset="${_response_encoding}"></script>
        <script src="@{'/public/javascripts/picasa.js'}" type="text/javascript" charset="${_response_encoding}"></script>
        #{get 'moreScripts' /}
    </head>
    <body>
        %{ if (isAdmin) { }%
            #{menu.admin-menu /}
        %{ } }%
        #{menu.menu mainMenu:mainMenu, isAdmin:isAdmin/}
        <div class="content">
            #{doLayout /}
        </div>
    </body>
</html>
